package cn.iocoder.yudao.module.ym.controller.admin.worktemp.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 工单模板新增/修改 Request VO")
@Data
public class WorkTempSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1834")
    private Long id;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "公司ID", example = "17541")
    private Long deptId;

    @Schema(description = "模板名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
//    @NotEmpty(message = "模板名不能为空")
    private String tempName;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotNull(message = "类型不能为空")
    private Integer tempType;

    @Schema(description = "字段", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "字段不能为空")
    private String tempFiled;

    @Schema(description = "配置", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "配置不能为空")
    private String tempConf;

    @Schema(description = "示例照片")
    private String example;

}
